<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <title>HIS主页</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="apple-mobile-web-app-status-bar-style" content="black">
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="format-detection" content="telephone=no">
  <link href="/lobsteruiframe/layui/css/layui.css" rel="stylesheet" />
  <link href="/lobsteruiframe/layuiadmin/style/admin.css" rel="stylesheet" />
  <script src="/lobsteruiframe/layui/layui.js"></script>

  <script src="/jslib/lobster.js"></script>
  <script src="/jslib/jquery-3.4.1.min.js"></script>
  <script type="text/javascript" src="https://apple.mcloudsoft.cn/jslib/qrcode.min.js"></script>

  <script src="index.js"></script>
</head>

<body>

  <div class="layui-fluid" style="width:1200px;">
    <div class="layui-row layui-col-space15">
      <div class="layui-col-md8">
        <div class="layui-row layui-col-space15" id="div_menus">
          <!-- 显示Web菜单 -->
        </div>
      </div>
      <div class="layui-col-md4">
        <div class="layui-card">
          <div class="layui-card-header">搜索菜单</div>
          <div class="layui-card-body">
            <div class="layui-form layui-row">
              <select lay-search="" lay-filter="searchmenu" id="searchmenu">
                <option value="">请搜索</option>
                
              </select>
            </div>
          </div>
        </div>
        <div class="layui-card">
          <div class="layui-card-header">最近打开菜单</div>
          <div class="layui-card-body">
            <ul class="layui-row layuiadmin-card-team">
              <li class="layui-col-xs6">
                <a lay-href="doc/modules/table.html">
                  <span class="layui-team-img"><img src="/lobsteruiframe/layuiadmin/style/res/logo.png"></span>
                  <span>科室信息</span>
                </a>
              </li>
            </ul>
          </div>
        </div>
        <div class="layui-card">
          <div class="layui-card-header">医生移动端</div>
          <div class="layui-card-body">

            <div class="layui-fluid" style="text-align: center;  ">
              <p class="docs-subtitle">用手机扫码下面二维码体验</p>
              <div id="qrcode"
                style="width: 200px; height: 200px; margin-top: 15px;margin-left:50px; text-align: center; "></div>
            </div>

          </div>
        </div>
        <div class="layui-card">
          <div class="layui-card-header">患者移动端</div>
          <div class="layui-card-body">

            <div class="layui-fluid" style="text-align: center;  ">
              <p class="docs-subtitle">用手机扫码下面二维码体验</p>
              <div id="qrcode2"
                style="width: 200px; height: 200px; margin-top: 15px;margin-left:50px; text-align: center; "></div>
            </div>

          </div>
        </div>

      </div>
    </div>
  </div>
</body>

</html>

<script type="text/html" id="tpl_menus">
  {{# layui.each(d.moduleList, function(index, item){ }}
  <div class="layui-col-md12">
    <div class="layui-card">
      <div class="layui-card-header">{{item.Name}}</div>
      <div class="layui-card-body">
        {{# if(item.classList.length>0){}}
        <div class="layui-tab layui-tab-brief">
          <ul class="layui-tab-title">
            {{# layui.each(item.classList, function(index2, item2){ }}
            <li class="{{# if(index2==0){}} layui-this {{# } }}">{{item2.Name}}</li>
            {{# }) }}
          </ul>
          <div class="layui-tab-content">
            {{# layui.each(item.classList, function(index2, item2){ }}
            <div class="layui-tab-item {{# if(index2==0){}} layui-show {{# } }} ">
              <div class="layadmin-shortcut">

                <ul class="layui-row layui-col-space10">
                  {{# layui.each(item2.menuList, function(index3, item3){ }}
                  <li class="layui-col-xs2">
                    <a href="javascript:void();" data-menuid="{{item3.MenuId}}" data-name="{{item3.Name}}"
                      data-url="{{item3.UrlName}}" class="openmenu">
                      {{# if(item3.Image){}}
                      <span class="layui-icon"><img src="{{item3.Image}}"></span>
                      <cite>{{item3.Name}}</cite>
                      {{# }else {}}
                      <i class="layui-icon layui-icon-file"></i>
                      <cite>{{item3.Name}}</cite>
                      {{# } }}
                    </a>
                  </li>
                  {{# }) }}
                </ul>
              </div>
            </div>
            {{# }) }}
          </div>
        </div>
        {{# }else {}}
        <div class="layadmin-shortcut">

          <ul class="layui-row layui-col-space10">
            {{# layui.each(item.menuList, function(index2, item2){ }}
            <li class="layui-col-xs2">
              <a data-menuid="{{item2.MenuId}}" data-name="{{item2.Name}}" data-url="{{item2.UrlName}}"
                class="openmenu">
                {{# if(item2.Image){}}
                <span class="layui-icon"><img src="{{item2.Image}}"></span>
                <cite>{{item2.Name}}</cite>
                {{# }else {}}
                <i class="layui-icon layui-icon-file"></i>
                <cite>{{item2.Name}}</cite>
                {{# } }}
              </a>
            </li>
            {{# }) }}
          </ul>
        </div>
        {{# } }}
      </div>
    </div>
  </div>
  {{# }) }}
</script>